using B.S.RbacData.ErrorCode;
using ContentmanagementBase.Domain.Enums;
using ContentmanagementBaseRead.API.Dtos;
using MediatR;

namespace ContentmanagementBaseRead.API.Applications.Commands.Questions
{
    /// <summary>
    /// 获取常见问题信息列表命令
    /// </summary>
    public class GetProblemListCommand : IRequest<ApiPaging<List<ProblemListDto>>>
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; } = 1;

        /// <summary>
        /// 每页数量
        /// </summary>
        public int PageSize { get; set; } = 10;

        /// <summary>
        /// 问题标题（搜索条件）
        /// </summary>
        public string? ProblemTitle { get; set; }

        /// <summary>
        /// 问题分类（搜索条件）
        /// </summary>
        public FAQCategoryEnum? ProblemType { get; set; }

     
    }
} 